package com.wei;

/**
 * @Author :sunwei
 * @Description:
 * @Date create in 17:34  2021/4/25
 * @Modified by:
 */
public class TestMain {
    public static void main(String[] args) {
        MyHandler handler = new MyHandler();
        ObjectInterface instance = handler.getInstance(new RealObject());
        instance.doThings();
    }
}
